﻿using Abp.Domain.Repositories;
using Laboratory.Entities.User;
using System;
using System.Collections.Generic;

namespace Laboratory.IRepositories.User
{
    public interface IMenuRepository : IRepository<Menu, Guid>
    {

        /// <summary>
        /// 验证显示名称是否存在
        /// </summary>
        /// <param name="id">Id</param>
        /// <param name="displayName">显示名称</param>
        /// <param name="parentId">父级Id</param>
        /// <returns></returns>
        bool ExistsDisplayName(Guid? id, string displayName, Guid? parentId);
     


    }
}
